<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
	<title></title>
	<meta charset="utf-8">
	<link rel="stylesheet" type="text/css" href="/GIT/E-shop/E-shop/Public/css/bootstrap.css">
	<style type="text/css">
		.a {width: 800px;margin:0 auto; }
		th {width: 30%;}
		table {margin-top: 20px;}
	</style>
</head>
<body>
<div class="listle-responsive a">
	<table class="table table-striped table-bordered table-hover table-condensed text-center">
		<thead>
			<th class="text-center" colspan="2">商品详情</th>
		</thead>
		<tbody>
			<tr>
				<td>商品名称</td>
				<td><?php echo ($value["name"]); ?></td>
			</tr>
			<tr>
				<td>商品单价</td>
				<td><?php echo ($value["price"]); ?>元</td>
			</tr>
			<tr>
				<td>商品库存</td>
				<td><?php echo ($value["number"]); ?></td>
			</tr>
			<tr>
				<td>商品销量</td>
				<td><?php echo ($value["sales"]); ?></td>
			</tr>
			<tr>
				<td>商品状态</td>
				<td><?php echo ($value["status"]); ?></td>
			</tr>
			<tr>
				<td>商品介绍</td>
				<td><?php echo ($value["introduction"]); ?></td>
			</tr>
			<tr>
				<td>商品上架时间</td>
				<td><?php echo ($value["putaway_time"]); ?></td>
			</tr>
			<tr>
				<td>商品是否推荐</td>
				<td><?php echo ($value["recommend"]); ?></td>
			</tr>
			<tr>
				<td>商品分类</td>
				<td>
					<?php $__FOR_START_18364__=0;$__FOR_END_18364__=count($list)-1;for($i=$__FOR_START_18364__;$i < $__FOR_END_18364__;$i+=1){ echo ($list["$i"]["class"]["cname"]); ?> 、<?php } ?>
					<!-- <a href="<?php echo U('ProductClass/view');?>">分类管理</a> -->					
				</td>
			</tr>
			<tr>
				<td>商品图片</td>
				<td>
					<?php $__FOR_START_837__=0;$__FOR_END_837__=count($list['img']);for($i=$__FOR_START_837__;$i < $__FOR_END_837__;$i+=1){ ?><img src="/GIT/E-shop/E-shop/Public/images/product/<?php echo ($list["img"]["$i"]["picture_url"]); ?>" width="100px" height="100px"><?php } ?>
					<a href="<?php echo U('Picture/view');?>">图片管理</a>					
				</td>
				
			</tr>
			
			<tr>
				<td>商品页标题</td>
				<td><?php echo ($value["title"]); ?></td>
			</tr>
			<tr>
				<td>商品页关键词</td>
				<td><?php echo ($value["keyword"]); ?></td>
			</tr>
			<tr>
				<td>商品页描述</td>
				<td><?php echo ($value["description"]); ?></td>
			</tr>
		</tbody>
	</table>
</div>

</body>
</html>